package vip.zhenzicheng.design_patterns.bridge;

/**
 * @author zhenzicheng
 * @date 2022-05-26 11:23
 */
public class Client {
  public static void main(String[] args) {
    // 创建windows系统对象
    OperatingSystem windows = new Windows(new AviFile());
    // 使用操作系统播放视频文件
    windows.play("钢铁侠");
    OperatingSystem mac = new Mac(new H265());
    mac.play("头号玩家");
  }
}
